﻿using Newtonsoft.Json;

namespace Core.Ndatax.Domain.Dto
{
    public class FlagInfo
    {
        /// <summary>
        /// Indicates success status of the result.
        /// Set <see cref="Error"/> if this value is false.
        /// </summary>
        [JsonProperty("status")]
        public bool Success { get; set; }

        ///// <summary>
        ///// Error details (Must and only set if <see cref="Success"/> is false).
        ///// </summary>
        //[DataMember]
        //public ErrorInfo Error { get; set; }
        [JsonProperty("message")]
        public string Message { get; set; }
    }
}
